package com.example.test;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class ValidatorRequest<T> implements Serializable {
    @Schema(description = "场景编码")
    private String code;
    @Schema(description = "场景版本")
    private String version;
    @Schema(description = "需要校验的数据列表")
    private List<T> list;
    @Schema(description = "校验数据时需要的辅助数据(上下文数据)")
    private Map<String, Object> params;
    @Schema(description = "是否忽略管控机制(强校验):忽略时将执行所有校验")
    private boolean ignoreControl = false;
}